import axios from 'axios'

const request = axios.create({
  baseURL: 'https://apipc-xiaotuxian-front.itheima.net',
  timeout: 5000
})

request.interceptors.response.use((res) => {
  return res.data
}
)

export default request
